<?php

namespace app\api\controller;

use app\api\extend\Common;

class Utils extends Common
{

    public function upload() {
        $file = $this->request->file('file');
        $res = $this->uploadFile($file);
        if (empty($res)) return return_msg(400,$res);
        return $this->return_msg(200,'获取成功',$res);
    }

}